<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewIdeaTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewIdeaLabel_idIdea}"/>
                    <h:outputText value="#{ideaController.selected.idIdea}" title="#{bundle.ViewIdeaTitle_idIdea}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_titulo}"/>
                    <h:outputText value="#{ideaController.selected.titulo}" title="#{bundle.ViewIdeaTitle_titulo}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_descripcion}"/>
                    <h:outputText value="#{ideaController.selected.descripcion}" title="#{bundle.ViewIdeaTitle_descripcion}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_palabrasClave}"/>
                    <h:outputText value="#{ideaController.selected.palabrasClave}" title="#{bundle.ViewIdeaTitle_palabrasClave}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_justificacion}"/>
                    <h:outputText value="#{ideaController.selected.justificacion}" title="#{bundle.ViewIdeaTitle_justificacion}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_problema}"/>
                    <h:outputText value="#{ideaController.selected.problema}" title="#{bundle.ViewIdeaTitle_problema}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_antecedente}"/>
                    <h:outputText value="#{ideaController.selected.antecedente}" title="#{bundle.ViewIdeaTitle_antecedente}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_metodologia}"/>
                    <h:outputText value="#{ideaController.selected.metodologia}" title="#{bundle.ViewIdeaTitle_metodologia}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_resultado}"/>
                    <h:outputText value="#{ideaController.selected.resultado}" title="#{bundle.ViewIdeaTitle_resultado}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_objetivoGeneral}"/>
                    <h:outputText value="#{ideaController.selected.objetivoGeneral}" title="#{bundle.ViewIdeaTitle_objetivoGeneral}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_version}"/>
                    <h:outputText value="#{ideaController.selected.version}" title="#{bundle.ViewIdeaTitle_version}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_subdireccion}"/>
                    <h:outputText value="#{ideaController.selected.subdireccion}" title="#{bundle.ViewIdeaTitle_subdireccion}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_entidad}"/>
                    <h:outputText value="#{ideaController.selected.entidad}" title="#{bundle.ViewIdeaTitle_entidad}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_objetivoespecifico}"/>
                    <h:outputText value="#{ideaController.selected.objetivoespecifico}" title="#{bundle.ViewIdeaTitle_objetivoespecifico}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_tipoproyecto}"/>
                    <h:outputText value="#{ideaController.selected.tipoproyecto}" title="#{bundle.ViewIdeaTitle_tipoproyecto}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_investigador}"/>
                    <h:outputText value="#{ideaController.selected.investigador}" title="#{bundle.ViewIdeaTitle_investigador}"/>
                    <h:outputText value="#{bundle.ViewIdeaLabel_areainvestigacion}"/>
                    <h:outputText value="#{ideaController.selected.areainvestigacion}" title="#{bundle.ViewIdeaTitle_areainvestigacion}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{ideaController.destroyAndView}" value="#{bundle.ViewIdeaDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewIdeaEditLink}"/>
                <br />
                <h:commandLink action="#{ideaController.prepareCreate}" value="#{bundle.ViewIdeaCreateLink}" />
                <br />
                <h:commandLink action="#{ideaController.prepareList}" value="#{bundle.ViewIdeaShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewIdeaIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
